package com.jingjiu.homeservicesapi.dto;

import java.util.List;

/*
*功能：
 作者：chenhao
*日期： 2025/4/17 上午11:49
*/
public class UserDTO {
    //需要创建：账号，密码，姓名，性别，年龄，电话，头像url，家庭住址，紧急联系电话，疾病史，备注，亲属信息：姓名，关系，联系电话，操作
    private Long id;
    private String account;
    private String password;
    private String name;
    private String gender;
    private Long age;
    private String phone;
    private String avatarUrl;
    private String homeAddress;
    private String emergencyContactPhone;
    private String diseaseHistory;
    private String remark;
    private List<UserRelativeDTO> userRelativeDTOs;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Long getAge() {
        return age;
    }

    public void setAge(Long age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getHomeAddress() {
        return homeAddress;
    }

    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress;
    }

    public String getDiseaseHistory() {
        return diseaseHistory;
    }

    public void setDiseaseHistory(String diseaseHistory) {
        this.diseaseHistory = diseaseHistory;
    }

    public String getEmergencyContactPhone() {
        return emergencyContactPhone;
    }

    public void setEmergencyContactPhone(String emergencyContactPhone) {
        this.emergencyContactPhone = emergencyContactPhone;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<UserRelativeDTO> getUserRelativeDTOs() {
        return userRelativeDTOs;
    }

    public void setUserRelativeDTOs(List<UserRelativeDTO> userRelativeDTOs) {
        this.userRelativeDTOs = userRelativeDTOs;
    }

    @Override
    public String toString() {
        return "UserDTO{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", phone='" + phone + '\'' +
                ", avatarUrl='" + avatarUrl + '\'' +
                ", homeAddress='" + homeAddress + '\'' +
                ", emergencyContactPhone='" + emergencyContactPhone + '\'' +
                ", diseaseHistory='" + diseaseHistory + '\'' +
                ", remark='" + remark + '\'' +
                ", userRelativeDTOs=" + userRelativeDTOs +
                '}';
    }
}
